package com.pengxun.manager.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

public class SetPasswordVO {

	@NotNull(message = "新密码不能为空")
	@Pattern(regexp = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[\\s\\S]{6,18}$",message = "6-18位的大小写字母和数字组合")
    private String newPassword;
	@NotNull(message = "秘钥不能为空")
    private String key;


	public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
    
    
}
